from django.conf.urls.defaults import *
from gmultiserver.dj import settings

urlpatterns = patterns(
	'',
	(r'^$', 'gmultiserver.dj.views.index'),
	(r'^report$', 'gmultiserver.dj.views.bar'),
	(r'^b/.*$', 'gmultiserver.dj.bars.bar'),
	(r'^chat$', 'gmultiserver.dj.chat.main'),
	('^a/message/new$', 'gmultiserver.dj.chat.message_new'),
	('^a/message/updates$', 'gmultiserver.dj.chat.message_updates'),
	(r'^(?P<path>.*js)$', 'django.views.static.serve',
	{'document_root': settings.MEDIA_ROOT}),
	(r'^(?P<path>.*css)$', 'django.views.static.serve',
	{'document_root': settings.MEDIA_ROOT}),
	(r'^(?P<path>.*ico)$', 'django.views.static.serve',
	{'document_root': settings.MEDIA_ROOT}),
	(r'.*', 'gmultiserver.dj.views.not_found'),
	)
